<?php
global $g_name;

if(($ci instanceof courseInstance) && !is_null($ci->getCourseInstanceID())) {
	if (!$ci->course instanceof course) $ci->getCourseForUser($u->getUserID());
	if (isset($ci->course)) $currentClass = $ci->course->displayCourseNo();
} else {
	$currentClass = $g_name;
}

?>
<div class="bannerMNew">
	<ul id="breadcrumbs">
    	<li><a href=""><img src="images/home.gif" width="19" height="19" alt="Libraries Mobile" /></a></li>
        <li class="separator"><img src="images/spacerM.gif" alt="&nbsp;" width="5" height="19" class="spacer" /></li>
        <li><a href="index.php"><img src="images/rdicon.png" width="19" height="19" alt="Reserves Mobile Home" /></a></li>
        <li class="text"><?=$currentClass?></li>
	</ul>
	<div class="bannerMRightContainer bannerMControl">
		<?php if (isset($u)): ?>
			<a href="logout.php?mobile=true">Logout</a>
		<?php endif; ?>
	</div>
</div>